const path = require('path')
module.exports = {
  devServer: {
    host: ''
  },
  configureWebpack: {
    resolve: {
      alias: {
        components: path.join(__dirname, 'src/components'),
        views: path.join(__dirname, 'src/views'),
        store: path.join(__dirname, 'src/store'),
        common: path.join(__dirname, 'src/common')
      }
    },
    module: {
      rules: [
        {
          test: /\.(html)$/,
          exclude: /node_modules/,
          use: {
            loader: 'html-loader',
            options: {
              minimize: true
            }
          }
        }
      ]
    }
  }
}
